<?php
return [
    [
        'name' => __('common.system'),
        'icon' => 'layui-icon layui-icon-group',
        'child' => [
            ['name' => __('system.group.menu'), 'code' => 'system/group'],
            ['name' => __('system.role.menu'), 'code' => 'system/role'],
            ['name' => __('system.user.menu'), 'code' => 'system/user'],
            ['name' => '医院管理', 'code' => 'system/hospital'],
            ['name' => '部门管理', 'code' => 'system/department'],
        ]
    ],
    [
        'name' => '预约咨询',
        'icon' => 'layui-icon layui-icon-website',
        'child' => [
            ['name' => '添加咨询', 'code' => 'ca/customer@create', 'url' => 'ca/customer/create'],
            ['name' => '全部咨询', 'code' => 'ca/customer'],
            ['name' => '今日工作', 'code' => 'ca/day'],
            ['name' => '公海资源', 'code' => 'ca/public'],
            ['name' => '回访记录', 'code' => 'ca/visit'],
            ['name' => '话务领取', 'code' => 'ca/public-mobile'],
            ['name' => '话务列表', 'code' => 'ca/caller'],
            ['name' => '今日预计到院', 'code' => 'ca/day-arriving'],
            ['name' => '预计明日到院', 'code' => 'ca/tomorrow-arriving'],
            ['name' => '消费数据', 'code' => 'ca/promotion'],
        ]
    ],
    [
        'name' => '统计分析',
        'icon' => 'layui-icon layui-icon-website',
        'child' => [
            ['name' => '到诊排行榜', 'code' => 'analysis/caller'],
            ['name' => '网转数据统计', 'code' => 'analysis/caller@effective', 'url' => 'analysis/caller/effective'],
            ['name' => '推广月报', 'code' => 'analysis/caller@promotion', 'url' => 'analysis/caller/promotion'],
        ]
    ],
    [
        'name' => '档案管理',
        'icon' => 'layui-icon layui-icon-website',
        'child' => [
            ['name' => '病种管理', 'code' => 'ca/disease'],
            ['name' => '咨询方式', 'code' => 'ca/consultation-way'],
            ['name' => '来院方式', 'code' => 'ca/come-way'],
            ['name' => '来源', 'code' => 'ca/source'],
            ['name' => '医生', 'code' => 'ca/docker'],
            ['name' => '短信模板', 'code' => 'ca/sms-template'],
            ['name' => '交接记录', 'code' => 'ca/handover-record'],
        ]
    ],
    [
        'name' => __('common.settings'),
        'icon' => 'layui-icon layui-icon-set',
        'child' => [
//            ['name' => __('settings.website_config.menu'), 'code' => 'settings/website-config'],
            ['name' => '字典', 'code' => 'settings/code'],
//            ['name' => __('settings.approval-flow.menu'), 'code' => 'settings/approval-flow'],
        ]
    ],
    [
        'name' => '系统日志',
        'icon' => 'layui-icon layui-icon-set',
        'child' => [
            ['name' => '登录日志', 'code' => 'log/login'],
            ['name' => '操作日志', 'code' => 'log/operation'],
        ]
    ]
];
